﻿<%@ Page Language="C#" MasterPageFile="~/Admin/admin.master" AutoEventWireup="true"
    CodeFile="DrugDispoAdd.aspx.cs" Inherits="DrugDispoAdd" Title="DrugDispo Edit" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="Server">
    Drug Dispo - Add/Edit</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <data:MultiFormView ID="FormView1" DataKeyNames="DrugId" runat="server" DataSourceID="DrugDispoDataSource">
        <EditItemTemplatePaths>
            <data:TemplatePath Path="~/Admin/UserControls/DrugDispoFields.ascx" />
        </EditItemTemplatePaths>
        <InsertItemTemplatePaths>
            <data:TemplatePath Path="~/Admin/UserControls/DrugDispoFields.ascx" />
        </InsertItemTemplatePaths>
        <EmptyDataTemplate>
            <b>DrugDispo not found!</b>
        </EmptyDataTemplate>
        <FooterTemplate>
            <asp:Button ID="InsertButton" runat="server" CausesValidation="True" CommandName="Insert"
                CssClass="button" Text="Insert" Visible="False" />
            <asp:Button ID="UpdateButton" runat="server" CausesValidation="True" CommandName="Update"
                CssClass="button" Text="Update" Visible="False" />
            <asp:Button ID="CancelButton" runat="server" CausesValidation="False" CommandName="Cancel"
                CssClass="button" Text="Cancel"/>
        </FooterTemplate>
    </data:MultiFormView>
    <data:DrugDispoDataSource ID="DrugDispoDataSource" runat="server" SelectMethod="GetByDrugId">
        <Parameters>
            <asp:QueryStringParameter Name="DrugId" QueryStringField="DrugId" Type="String" />
        </Parameters>
    </data:DrugDispoDataSource>
    <br />
</asp:Content>
